home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global btnnum, gflag
- bgmcheck()
- set btnnum to btnnum + 2
- if btnnum >= 29 then
- set btnnum to 1
- end if
- btnmov()
- repeat with i = 3 to 5
- case i of
- 3:
- set str to "M"
- 4:
- set str to "F"
- 5:
- set str to "P"
- end case
- if rollOver(i + 3) then
- case getAt(gflag, i - 2) of
- 0:
- set str to str & string(2)
- 1:
- set str to str & string(4)
- end case
- else
- case getAt(gflag, i - 2) of
- 0:
- set str to str & string(1)
- 1:
- set str to str & string(3)
- end case
- end if
- set the member of sprite i to the name of member str
- end repeat
- repeat with i = 60 to 63
- if rollOver(60) = 1 then
- set the visible of sprite 50 to 0
- else
- set the visible of sprite 50 to 1
- end if
- if rollOver(61) = 1 then
- set the visible of sprite 51 to 0
- else
- set the visible of sprite 51 to 1
- end if
- set the visible of sprite (i - 5) to rollOver(i)
- end repeat
- set cnt to 0
- repeat with i = 1 to 3
- if getAt(gflag, i) = 1 then
- set cnt to cnt + 1
- end if
- end repeat
- if cnt <> 0 then
- set the visible of sprite 59 to rollOver(64)
- end if
- updateStage()
- go(the frame)
- end
-